
import "package:httpplugin/httpplugin.dart";

class NetworkImage extends HttpTickContainer {
  @override
  String get method => GET;

  @override
  int? get retryTimes => 3;

  @override
  CustomResponseType? get responseType => CustomResponseType.bytes;

  @override
  CustomHttpPriority get priority => CustomHttpPriority.lower;
}

class UploadImage extends HttpTickContainer {

  @override
  String get url => "/api/data/upload.no";

  @override
  // TODO: implement method
  String get method => POST;

  @override
  // TODO: implement isFile
  bool get isFile => true;
}

class WeChatAuth extends HttpTickContainer {
  @override
  String? get customUrl => "https://api.weixin.qq.com/sns/oauth2/access_token";

  @override
  String get method => GET;
}